package com.qiaofang.applet.service.other.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "other_yx_im_user")
@ApiModel("网易云信IM用户表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class YxImUser extends BaseDomain {

    @ApiModelProperty("用户userId, 经纪人用employeeUniqueUuid")
    private String userId;

    @ApiModelProperty("用户类型(1 普通用户 2 经纪人 )")
    private String userType;

    @ApiModelProperty("云信accid")
    private String accid;

    @ApiModelProperty("云信昵称")
    private String name;

    @ApiModelProperty("云信token")
    private String token;
}
